﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Deflection
{
    class Formations
    {

        public static List<Vector2> Box = new List<Vector2>();

        public static List<Vector2> ZigZag = new List<Vector2>();

        public static List<Vector2> Circle = new List<Vector2>();

        public static List<Vector2> VLine = new List<Vector2>();

        public static List<Vector2> HLine = new List<Vector2>();

        public static void Instance()
        {
            // Node positions are an offset from the center of the path

            // Box
            Box.Add(new Vector2(-100, -100));
            Box.Add(new Vector2(100, -100));
            Box.Add(new Vector2(100, 100));
            Box.Add(new Vector2(-100, 100));
            // 4

            // ZigZag
            ZigZag.Add(new Vector2(-200, 50));
            ZigZag.Add(new Vector2(-100, -50));
            ZigZag.Add(new Vector2(0, 50));
            ZigZag.Add(new Vector2(100, -50));
            ZigZag.Add(new Vector2(200, 50));
            // 5

            // Circle (Going clockwise)
            Circle.Add(new Vector2(0, -100)); // top
            Circle.Add(new Vector2(70.5f, -70.5f));
            Circle.Add(new Vector2(100, 0)); // Right
            Circle.Add(new Vector2(70.5f, 70.5f)); 
            Circle.Add(new Vector2(0, 100)); // Bottom
            Circle.Add(new Vector2(-70.5f, 70.5f));
            Circle.Add(new Vector2(-100, 0)); // Left
            Circle.Add(new Vector2(-70.5f, -70.5f));
            Circle.Add(new Vector2(0f, -100f));
            // 8

            // Virtical line
            VLine.Add(new Vector2(0f, 100f));
            VLine.Add(new Vector2(0f, -100f));

            // Horizontal line
            HLine.Add(new Vector2(100f, 0));
            HLine.Add(new Vector2(-100f, 0));


        }

    }
}
